Resource Servers
Create a New Resource Server
To create a resource server, send a POST request to /v1/tenants/$TENANT_ID/realms/$REALM_ID/resource-servers. Values in the request body for read-only fields will be ignored.
post/v1/tenants/{tenant_id}/realms/{realm_id}/resource-servers
Request
- Base URLhttps://api-us.beyondidentity.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
tenant_idstring required
Example:000176d94fd7b4d1
A unique identifier for a tenant.
realm_idstring required
Example:19a95130480dfa79
A unique identifier for a realm.
Request body
Example request
{
"resource_server": {
"id": "84db69f5-48a8-4c11-8cda-1bae3a73f07e",
"realm_id": "caf2ff640497591a",
"tenant_id": "00011f1183c67b69",
"display_name": "Pet API",
"identifier": "https://api.mypetapp.com",
"scopes": [
"pets:read"
]
}
}Response
The response will be a JSON object containing the standard attributes associated with a resource server.
Example response
{
"id": "84db69f5-48a8-4c11-8cda-1bae3a73f07e",
"realm_id": "caf2ff640497591a",
"tenant_id": "00011f1183c67b69",
"display_name": "Pet API",
"identifier": "https://api.mypetapp.com",
"scopes": [
"pets:read"
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.