Add a user or an application to a group. Add a user or an application to a
group. You can specify a user_id
and and application_id
in the body of
your request. Note that you can only add one of each per request.
The request AddGroupMemberRequest
A Promise of Group
Add multiple users and applications to a group. Add multiple users and
applications to a group in a single call. You can specify an array of
user_id
s and application_id
s. Note that any existing users and
applications in the group will remain. To add new users/applications and
delete pre-existing ones, use the Overwrite users and applications of a
group method.
The request AddGroupMembersRequest
A Promise of Group
Clone a policy. Clone a policy. You must define specify the policy_id
parameter in your request.
The request ClonePolicyRequest
A Promise of Policy
Create an API key. Create an API key. You must specify the application_id
or the user_id
and the description. You can also specify the
default_project_id
which is the Project ID of your preferred Project, to
use with Object Storage. The access_key
and secret_key
values are
returned in the response. Note that he secret key is only showed once. Make
sure that you copy and store both keys somewhere safe.
The request CreateAPIKeyRequest
A Promise of APIKey
Create a new application. Create a new application. You must define the
name
parameter in the request.
The request CreateApplicationRequest
A Promise of Application
Create a group. Create a new group. You must define the name
and
organization_id
parameters in the request.
The request CreateGroupRequest
A Promise of Group
Create a JWT.
The request CreateJWTRequest
A Promise of EncodedJWT
Create a new policy. Create a new application. You must define the name
parameter in the request. You can specify parameters such as user_id
,
groups_id
, application_id
, no_principal
, rules
and its child
attributes.
The request CreatePolicyRequest
A Promise of Policy
Create an SSH key. Add a new SSH key to a Scaleway Project. You must
specify the name
, public_key
and project_id
.
The request CreateSSHKeyRequest
A Promise of SSHKey
Create a new user. Create a new user. You must define the organization_id
and the email
in your request.
The request CreateUserRequest
A Promise of User
Delete an API key. Delete an API key. Note that this action is irreversible and cannot be undone. Make sure you update any configurations using the API keys you delete.
The request DeleteAPIKeyRequest
Delete an application. Delete an application. Note that this action is irreversible and will automatically delete the application's API keys. Policies attached to users and applications via this group will no longer apply.
The request DeleteApplicationRequest
Delete a group. Delete a group. Note that this action is irreversible and could delete permissions for group members. Policies attached to users and applications via this group will no longer apply.
The request DeleteGroupRequest
Delete a JWT.
The request DeleteJWTRequest
Delete a policy. Delete a policy. You must define specify the policy_id
parameter in your request. Note that when deleting a policy, all
permissions it gives to its principal (user, group or application) will be
revoked.
The request DeletePolicyRequest
Delete an SSH key. Delete a given SSH key, specified by the ssh_key_id
.
Deleting an SSH is permanent, and cannot be undone. Note that you might
need to update any configurations that used the SSH key.
The request DeleteSSHKeyRequest
Delete a guest user from an Organization. Remove a user from an
Organization in which they are a guest. You must define the user_id
in
your request. Note that removing a user from an Organization automatically
deletes their API keys, and any policies directly attached to them become
orphaned.
The request DeleteUserRequest
Get an API key. Retrive information about an API key, specified by the
access_key
parameter. The API key's details, including either the
user_id
or application_id
of its bearer are returned in the response.
Note that the string value for the secret_key
is nullable, and therefore
is not displayed in the response. The secret_key
value is only displayed
upon API key creation.
The request GetAPIKeyRequest
A Promise of APIKey
Get a given application. Retrieve information about an application,
specified by the application_id
parameter. The application's full
details, including id
, email
, organization_id
, status
and
two_factor_enabled
are returned in the response.
The request GetApplicationRequest
A Promise of Application
Get a group. Retrive information about a given group, specified by the
group_id
parameter. The group's full details, including user_ids
and
application_ids
are returned in the response.
The request GetGroupRequest
A Promise of Group
Get a JWT.
The request GetJWTRequest
A Promise of JWT
Get a log. Retrieve information about a log, specified by the log_id
parameter. The log's full details, including id
, ip
, user_agent
,
action
, bearer_id
, resource_type
and resource_id
are returned in
the response.
The request GetLogRequest
A Promise of Log
Get an existing policy. Retrieve information about a policy, speficified by
the policy_id
parameter. The policy's full details, including id
,
name
, organization_id
, nb_rules
and nb_scopes
, nb_permission_sets
are returned in the response.
The request GetPolicyRequest
A Promise of Policy
Get a quota in the Organization. Retrieve information about a resource
quota, specified by the quotum_name
parameter. The quota's limit
, or
whether it is unlimited, is returned in the response.
The request GetQuotumRequest
A Promise of Quotum
Get an SSH key. Retrieve information about a given SSH key, specified by
the ssh_key_id
parameter. The SSH key's full details, including id
,
name
, public_key
, and project_id
are returned in the response.
The request GetSSHKeyRequest
A Promise of SSHKey
Get a given user. Retrieve information about a user, specified by the
user_id
parameter. The user's full details, including id
, email
,
organization_id
, status
and mfa
are returned in the response.
The request GetUserRequest
A Promise of User
List API keys. List API keys. By default, the API keys listed are ordered
by creation date in ascending order. This can be modified via the
order_by
field. You can define additional parameters for your query such
as editable
, expired
, access_key
and bearer_id
.
The request ListAPIKeysRequest
A Promise of ListAPIKeysResponse
List applications of an Organization. List the applications of an
Organization. By default, the applications listed are ordered by creation
date in ascending order. This can be modified via the order_by
field. You
must define the organization_id
in the query path of your request. You
can also define additional parameters for your query such as
application_ids
.
The request ListApplicationsRequest
A Promise of ListApplicationsResponse
List groups. List groups. By default, the groups listed are ordered by
creation date in ascending order. This can be modified via the order_by
field. You can define additional parameters to filter your query. Use
user_ids
or application_ids
to list all groups certain users or
applications belong to.
The request ListGroupsRequest
A Promise of ListGroupsResponse
List JWTs.
The request ListJWTsRequest
A Promise of ListJWTsResponse
List logs. List logs available for given Organization. You must define the
organization_id
in the query path of your request.
The request ListLogsRequest
A Promise of ListLogsResponse
List permission sets. List permission sets available for given
Organization. You must define the organization_id
in the query path of
your request.
The request ListPermissionSetsRequest
A Promise of ListPermissionSetsResponse
List policies of an Organization. List the policies of an Organization. By
default, the policies listed are ordered by creation date in ascending
order. This can be modified via the order_by
field. You must define the
organization_id
in the query path of your request. You can also define
additional parameters to filter your query, such as user_ids
,
groups_ids
, application_ids
, and policy_name
.
The request ListPoliciesRequest
A Promise of ListPoliciesResponse
List all quotas in the Organization. List all product and features quota
for an Organization, with their associated limits. By default, the quota
listed are ordered by creation date in ascending order. This can be
modified via the order_by
field. You must define the organization_id
in
the query path of your request.
The request ListQuotaRequest
A Promise of ListQuotaResponse
List rules of a given policy. List the rules of a given policy. By default,
the rules listed are ordered by creation date in ascending order. This can
be modified via the order_by
field. You must define the policy_id
in
the query path of your request.
The request ListRulesRequest
A Promise of ListRulesResponse
List SSH keys. List SSH keys. By default, the SSH keys listed are ordered
by creation date in ascending order. This can be modified via the
order_by
field. You can define additional parameters for your query such
as organization_id
, name
, project_id
and disabled
.
The request ListSSHKeysRequest
A Promise of ListSSHKeysResponse
List users of an Organization. List the users of an Organization. By
default, the users listed are ordered by creation date in ascending order.
This can be modified via the order_by
field. You must define the
organization_id
in the query path of your request. You can also define
additional parameters for your query such as user_ids
.
The request ListUsersRequest
A Promise of ListUsersResponse
Lock a user. Lock a user. Note that a locked user cannot log in or use API keys until the locked status is removed.
The request LockUserRequest
A Promise of User
Remove a user or an application from a group. Remove a user or an
application from a group. You can specify a user_id
and and
application_id
in the body of your request. Note that you can only remove
one of each per request. Removing a user from a group means that any
permissions given to them via the group (i.e. from an attached policy) will
no longer apply. Be sure you want to remove these permissions from the user
before proceeding.
The request RemoveGroupMemberRequest
A Promise of Group
Overwrite users and applications of a group. Overwrite users and applications configuration in a group. Any information that you add using this command will overwrite the previous configuration.
The request SetGroupMembersRequest
A Promise of Group
Set rules of a given policy. Overwrite the rules of a given policy. Any information that you add using this command will overwrite the previous configuration. If you include some of the rules you already had in your previous configuration in your new one, but you change their order, the new order of display will apply. While policy rules are ordered, they have no impact on the access logic of IAM because rules are allow-only.
The request SetRulesRequest
A Promise of SetRulesResponse
Unlock a user.
The request UnlockUserRequest
A Promise of User
Update an API key. Update the parameters of an API key, including
default_project_id
and description
.
The request UpdateAPIKeyRequest
A Promise of APIKey
Update an application. Update the parameters of an application, including
name
and description
.
The request UpdateApplicationRequest
A Promise of Application
Update a group. Update the parameters of group, including name
and
description
.
The request UpdateGroupRequest
A Promise of Group
Update an existing policy. Update the parameters of a policy, including
name
, description
, user_id
, group_id
, application_id
and
no_principal
.
The request UpdatePolicyRequest
A Promise of Policy
Update an SSH key. Update the parameters of an SSH key, including name
and disable
.
The request UpdateSSHKeyRequest
A Promise of SSHKey
Update a user. Update the parameters of a user, including tags
.
The request UpdateUserRequest
A Promise of User
Update an user's password.
The request UpdateUserPasswordRequest
A Promise of User
IAM API.
This API allows you to manage Identity and Access Management (IAM) across your Scaleway Organizations, Projects and resources.