Unassigns a specified from a specified .
PATCH /acs/credentials/unassign ⇒ void
Authentication Methods
Personal access token
Must also include the seam-workspace
header in the request.
To learn more, see .
Request Parameters
acs_credential_id
String (Required)
ID of the credential that you want to unassign from an access system user.
acs_user_id
String
ID of the access system user from which you want to unassign a credential. You can only provide one of acs_user_id or user_identity_id.
user_identity_id
String
ID of the user identity from which you want to unassign a credential. You can only provide one of acs_user_id or user_identity_id.
Response
void
Examples
Unassign a credential from an ACS user
Specify the desired acs_user_id
and acs_credential_id
to unassign the specified credential from the specified ACS user.
Code
await seam.acs.credentials.unassign({
acs_user_id: "33333333-3333-3333-3333-333333333333",
acs_credential_id: "66666666-6666-6666-6666-666666666666",
});
Output
Code
seam.acs.credentials.unassign(
acs_user_id="33333333-3333-3333-3333-333333333333",
acs_credential_id="66666666-6666-6666-6666-666666666666",
)
Output
Code
seam.acs.credentials.unassign(
acs_user_id: "33333333-3333-3333-3333-333333333333",
acs_credential_id: "66666666-6666-6666-6666-666666666666",
)
Output
Code
<?php
$seam->acs->credentials->unassign(
acs_user_id: "33333333-3333-3333-3333-333333333333",
acs_credential_id: "66666666-6666-6666-6666-666666666666"
);
Output
Code
seam acs credentials unassign --acs_user_id "33333333-3333-3333-3333-333333333333" --acs_credential_id "66666666-6666-6666-6666-666666666666"
Output
Code
package main
import api "github.com/seamapi/go"
import credentials "github.com/seamapi/go/credentials"
func main() {
client.Acs.Credentials.Unassign(
context.Background(),
credentials.CredentialsUnassignRequest{
AcsUserId: api.String("33333333-3333-3333-3333-333333333333"),
AcsCredentialId: api.String("66666666-6666-6666-6666-666666666666"),
},
)
}
Output
Code
curl --include --request POST "https://connect.getseam.com/acs/credentials/unassign" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"acs_user_id": "33333333-3333-3333-3333-333333333333",
"acs_credential_id": "66666666-6666-6666-6666-666666666666"
}
EOF
Output