Get Organization IoT Endpoint And Credentials
GET/organizations/:organizationId/iot-endpoint-and-credentials
Get Organization IoT Endpoint And Credentials
Request
Path Parameters
organizationId stringrequired
The ID of organization.
Responses
- 200
- 401
- 403
- 422
- application/json
- Schema
- Example (from schema)
- Example
Schema
data objectrequired
Data of the organization credentials.
awsRegion stringrequired
iotEndpoint stringrequired
credentials objectrequired
accessKeyId stringrequired
secretAccessKey stringrequired
sessionToken stringrequired
expiration stringrequired
{
  "data": {
    "awsRegion": "string",
    "iotEndpoint": "string",
    "credentials": {
      "accessKeyId": "string",
      "secretAccessKey": "string",
      "sessionToken": "string",
      "expiration": "string"
    }
  }
}
{
  "data": {
    "iotEndpoint": "a3m4oxxxxxxxxxx-ats.iot.ap-northeast-1.amazonaws.com",
    "awsRegion": "ap-northeast-1",
    "credentials": {
      "accessKeyId": "ABCDEFGHIJKLMNOPQRST",
      "secretAccessKey": "p9+7+f/ABCDEFGHIJKLMNO/ABCDEFGHIJKLMNOPQ",
      "sessionToken": "ABCDEFGHIJKLMNOPQRS//////////",
      "expiration": "2024-01-01T00:00:00.000Z"
    }
  }
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
  "error": "string",
  "message": "string"
}
{
  "error": "Unauthenticated",
  "message": "Authentication is required and has failed or has not yet been provided."
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
  "error": "string",
  "message": "string"
}
{
  "error": "Forbidden",
  "message": "Access to the requested resource is forbidden."
}
The input data has invalid.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The input data has invalid.
message stringrequired
The input data has invalid message.
{
  "error": "string",
  "message": "string"
}
{
  "error": "ValidationError",
  "message": "Input data validation failed."
}
Loading...