Check if the current user can sign in to the Developer Portal
get
/apiplatform/developers/v1/public/authorizedlogin
Checks if the user sending the request is authorized to sign in to the Developer Portal. A 200
response code is returned if the user can sign in to the Developer Portal; an error code is returned otherwise.
This is a public resource; it does not require authentication and can be accessed by any user.
Request
There are no request parameters for this operation.
Response
200 Response
Indicates the user can sign in to the Developer Portal.
403 Response
Indicates the user cannot sign in to the Developer Portal.
Examples
The following example shows how to determine if the client is authorized to sign in to the Oracle API Platform Cloud Service Developer Portal by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL
curl -i -X GET -u apicsadmin:password https://example.com/apiplatform/developers/v1/public/authorizedlogin
Example of Response Headers
The following shows an example of the response headers.
HTTP/1.1 200 OK Server: Oracle-Traffic-Director/12.2.1.0.0 Date: Sun, 01 Jan 2017 16:42:22 GMT Content-length: 0 X-oracle-dms-ecid: i^S_z1esR00000000 X-oracle-dms-rid: 0:1 Via: 1.1 otd_opc Proxy-agent: Oracle-Traffic-Director/12.2.1.0.0