curl --request PUT \
--url https://api.pomerado.ai/v1/logins/{id}/access \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"grantee": {
"type": "team"
}
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({grantee: {type: 'team'}})
};
fetch('https://api.pomerado.ai/v1/logins/{id}/access', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pomerado.ai/v1/logins/{id}/access"
payload = { "grantee": { "type": "team" } }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"login_id": "<string>",
"creator": {
"user_id": "<string>",
"name": "<string>",
"email": "<string>",
"former": true
},
"team": "use",
"members": [
{
"user_id": "<string>",
"name": "<string>",
"email": "<string>",
"former": true,
"level": "use"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}Change who has access to a saved login
Give one member Use, Edit or Manage on a Business team’s saved login, give the whole team Use or Edit, or remove either with level null. Nobody changes its creator’s access or an Owner’s or Admin’s. Removing someone’s last access stops their unfinished jobs on the login. Only on the Dashboard, for someone who manages the login: elsewhere this answers the login’s Share dropdown on the Dashboard.
curl --request PUT \
--url https://api.pomerado.ai/v1/logins/{id}/access \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"grantee": {
"type": "team"
}
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({grantee: {type: 'team'}})
};
fetch('https://api.pomerado.ai/v1/logins/{id}/access', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pomerado.ai/v1/logins/{id}/access"
payload = { "grantee": { "type": "team" } }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"login_id": "<string>",
"creator": {
"user_id": "<string>",
"name": "<string>",
"email": "<string>",
"former": true
},
"team": "use",
"members": [
{
"user_id": "<string>",
"name": "<string>",
"email": "<string>",
"former": true,
"level": "use"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"details": {}
}
}Authorization: Bearer <token> with Dashboard session, Pomerado MCP OAuth token, API key.
Permission: logins:manage.
Effect: Write: creates or changes something in your account.
Errors: invalid_request (400), unauthorized (401), reauthentication_required (401), forbidden (403), login_access_required (403), team_unavailable (403), not_found (404), access_fixed (409), grantee_not_member (409), team_level_not_allowed (409), request_too_large (413), internal_error (500), temporarily_unavailable (503). Every error has the same envelope.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
a saved login ID: login_ and 32 lowercase hex digits
"login_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"
Body
Response
On the Dashboard: who has access now; Elsewhere: the Share dropdown
- Option 1
- Option 2
Who created it, and so manages it; null when a login saved before Teams has none
Show child attributes
Show child attributes
The whole team's level, later joiners included; null when the team has none
use, edit Each member's own level. Every Owner and Admin manages it whatever this lists
Show child attributes
Show child attributes