Check if the current user can sign in to the Developer Portal
get
/developers/services/v1/portal/authorized
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.
All authenticated users can request this resource.
Request
There are no request parameters for this operation.
Back to TopResponse
204 Response
Indicates the user can sign in to the Developer Portal.
401 Response
Indicates an authentication error.
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 - Classic Consumer 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/developers/services/v1/portal/authorized
Example of Response Headers
The following shows an example of the response headers.
HTTP/1.1 204 No Content Date: Fri, 05 Jan 2018 05:38:18 GMT Content-type: application/json X-oracle-dms-ecid: 8D_vT0gLS00000000 X-oracle-dms-rid: 0:1