Retrieve an organization by ID for a User
GEThttps://api.iap.dev/v1/organizations/:id
Retrieve an organization by ID for a User
Request
Path Parameters
id stringrequired
Responses
- 200
- 404
- application/json
- Schema
- Example (from schema)
Schema
id stringrequired
The unique ID of the organization
name stringrequired
The name of the organization
plan object
{
"id": "abc123",
"name": "My Organization",
"plan": {
"name": "pro_monthly",
"status": "PENDING"
}
}
Organization not found or not accessible
Authorization: JWT
name: JWTtype: httpscheme: bearerbearerFormat: JWTdescription: Enter JWT tokenin: header
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://api.iap.dev/v1/organizations/:id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear