Skip to main content

Effective 10 September 2024, API Documentation can be found on our Equinix Product Documentation site.
The content on this page will not be updated after 1 Oct 2024 and will be inaccessible after 31st Dec 2024.


200: Success

The 200 (Success) status code indicates that the HTTP request was successful. In a GET request, the response will contain an entity corresponding to the requested resource whereas, in a POST request, the response will contain an entity describing or containing the result of the action.

Code200
DescriptionSuccess.
curl -X GET 'https://api.equinix.com/am/v2/roleAssignments/users/972239?resourceId=563d7790-8083-4af0-8df7-e115b768365b&resourceType=ORGANIZATION'
-H 'authorization: Bearer qwErtY8zyW1abcdefGHI'

This is an example of a success message.

{
"data": [
{
"id": "212f8c2a-12f6-4387-be5c-476e9cbbc7f6",
"user": {
"userId": "972239",
"firstName": "John",
"lastName": "Doe",
"userName": "johndoe1",
"email": "johndoe@corp.com"
},
"role": {
"name": "role/project.viewer",
"displayName": "Project Viewer",
"description": "Project View - Read capability on resources within project"
},
"resource": {
"id": "563d7790-8083-4af0-8df7-e115b768365b",
"type": "ORGANIZATION"
},
"constraints": [
{
"name": "BILLING_ACCOUNT",
"values": [
"159920",
"592578"
],
"operator": "IN"
}
],
"inheritedFromResource": {
"id":"563d7790-8083-4af0-8df7-e115b768365b"
"type": "ORGANIZATION"
},
"createdDate": "2023-09-26",
"createdBy": "1c8285d1-5fca-44c3-864e-01c30d92c560",
"lastUpdatedDate": "2023-09-26",
"lastUpdatedBy": "1c8285d1-5fca-44c3-864e-01c30d92c560"
},
{
"id": "6b4068af-db64-4eb0-a0e3-57c1558878b1",
"user": {
"userId": "972239",
"firstName": "TONNY",
"lastName": "STARK",
"userName": "tonnystark",
"email": "TONY@TONY.co"
},
"role": {
"name": "SmartHand Support Plan Notification",
"displayName": "SmartHand Support Plan Notification",
"description": "Subscribe for SmartHand Support Plan Notification"
},
"resource": {
"id": "563d7790-8083-4af0-8df7-e115b768365b",
"type": "ORGANIZATION"
},
"constraints": [
{
"name": "BILLING_ACCOUNT",
"values": [
"570121",
"161094",
"156781"
],
"operator": "IN"
}
],
"inheritedFromResource": {},
"createdDate": "2023-09-26",
"createdBy": "1c8285d1-5fca-44c3-864e-01c30d92c560",
"lastUpdatedDate": "2023-09-26",
"lastUpdatedBy": "1c8285d1-5fca-44c3-864e-01c30d92c560"
}
],
"pagination": {
"offset": 0,
"limit": 500,
"total": 2
"next": "/roleAssignments/users/972239 resourceId=563d7790-8083-4af0-8df7-e115b768365b&resourceType=ORGANIZATION&limit=1&offset=2",
"previous": "/roleAssignments/users/972239 resourceId=563d7790-8083-4af0-8df7-e115b768365b&resourceType=ORGANIZATION&limit=1&offset=0"
}
}